package com.example.leetcode.twopoint;

import com.example.leetcode.twopoint.common.TwoPointUtils;

import java.util.Arrays;

class Solution27 {
    public int removeElement(int[] nums, int val) {
        return TwoPointUtils.removeElement(nums, val);
    }
}

public class leetcode27 {
    public static void main(String[] args) {
        Solution27 solution27 = new Solution27();
        int[] nums = {3,2,2,3};
        int val = 3;
        System.out.println(solution27.removeElement(nums, val));
        System.out.println(Arrays.toString(nums));
    }
}
